import { http } from './http'
import { PageQueryParams, PageResponse } from '@/config/page'

export interface DocActionQueryNewParams {
  version: number;

  path: string;

  // date?: number;
}

export function getLastOne (params: DocActionQueryNewParams) {
  return http().post<any>('/api/document/doc-action/new', params)
}
